'use strict';
module.exports = app => {
    const mongoose = app.mongoose;
    const Schema = mongoose.Schema;
    const UsersSchema = new Schema({
        name: {
            type: String
        },
        password: {
            type: String
        },
        repassword: {
            type: String
        },
        sRole:{
            type:String
        }
    });
    return mongoose.model('Users', UsersSchema);
}